import request from "@/utils/request";

// 订单总收入

  export function totalAmount(query) {
    return request({
      url: "/screen/order/totalAmount",
      method: "get",
      params: query,
    });
  }
  // 近12月订单新增数据

  export function newAddOrderStatistics(query) {
    return request({
      url: "/screen/order/newAddOrderStatistics",
      method: "get",
      params: query,
    });
  }
  // 订单总收入

  export function orderList(query) {
    return request({
      url: "/screen/order/orderList",
      method: "get",
      params: query,
    });
  }
